package com.openfeign.receiver.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author H
 * @date 2024/12/1
 */
@RestController
public class ReceiverController {

    @GetMapping("receiver")
    public String receiver(@RequestParam String username, @RequestParam String address) {
        return "收到信息：" + username + "，" + address;
    }

}
